package com.k8sops.backend.entity;

import com.k8sops.backend.common.DOSModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Menu entity
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Menu extends DOSModel {

    /**
     * Order number
     */
    private Integer orderNum;

    /**
     * Parent menu ID
     */
    private Long parentMenuId;

    /**
     * Menu type (directory, menu, button)
     */
    private String menuType;

    /**
     * Menu name
     */
    private String name;

    /**
     * Menu path
     */
    private String path;

    /**
     * Menu icon
     */
    private String icon;

    /**
     * Component path
     */
    private String component;

    /**
     * Whether to hide in menu
     */
    private Boolean hideInMenu;
}
